Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs/des.md #74

Open
wants to merge 11 commits into
base: draft
Choose a base branch
from
Open

Docs/des.md #74

wants to merge 11 commits into from

Conversation

hwamzzx
Copy link
Collaborator

@hwamzzx hwamzzx commented Nov 3, 2024

What does this PR do?

DES에 대한 설명을 간략히 작성하였습니다.
DES 자체에 대한 소개와 어떤 방식으로 암호화가 이루어지는 지에 대해 넣었습니다.
잘못된 부분 혹은 좀 더 추가가 필요한 부분 피드백 주시면 감사하겠습니다.

Home > content > Basic Cryptography > DES.md 페이지를 만들었습니다.

Before reviewing

  • Check for missing / redundant content
  • Grammar Check
  • Check if the content is accurate

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

##### Expansion P-Box
The **Expansion P-Box** is a process that permutes the order of the bits of a 32-bit input value while expanding the output to 48 bits.
The method for expanding the input value is as follows:
![[Pasted image 20241103212213.png]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the image name to "images/DES(1)" (This is the convention in this github)

## History
In 1973, the National Bureau of Standards (NBS) in the United States recognized the need for a standardized encryption method and called for proposals for what would become the DES (Data Encryption Standard). In 1977, NBS selected a modified version of an encryption algorithm called Lucifer, developed by IBM, to become DES.
The National Security Agency (NSA) made modifications to Lucifer, including reducing the key length from 128 bits to 56 bits and altering the structure of the S-Box. This led to speculation that the U.S. intelligence agencies could more easily decrypt messages encrypted with DES. Despite these suspicions, DES went on to become the most widely used block cipher worldwide for 30 years after its publication.
When DES was first introduced in the 1970s, a 56-bit key length provided adequate security. However, with advancements in computing, DES is no longer considered secure. To address these limitations, multiple DES techniques were introduced, notably Triple DES (3DES), which applies DES three times and provides 112 bits of security, making it more robust.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EFF's cracking hardware and distributed.net were also important events contributed to its deprecation.


1. Initial Permutation (IP)
2. 16 Rounds of F function and Swap
* F Function
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mention the full name of F function (Feistel Function)

* S-Box Substitution
* P-Box Permutation
* Swap
1. Inverse Initial Permutation (IP⁻¹)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indexing error? (1->2->1->2)

Copy link
Member

@healthykim healthykim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yijun-lee
Copy link
Member

@abell1689neo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants